package gov.nist.ssd.swqb.util;

import org.javatuples.Pair;
 
public class Static {

	protected Static() {;}
	
	public static <A,B> Pair<A,B> pair(A a, B b) {
	  return new Pair<A, B>(a, b);
	}
	
	public static String concat(String ...lines) {
	  return concat('\n', lines);
	}
	
	public static String concat(char stringSeparator,
	                            String ...lines) {
	  
	  StringBuffer sb = new StringBuffer();
	  for(String line : lines) {
	    sb.append(line);
	    sb.append(stringSeparator);
	  }
	  
	  sb.deleteCharAt(sb.length()-1);
	  
	  return sb.toString();
	}
	
}
